package com.diana.entity;

import com.baomidou.mybatisplus.annotations.Version;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 序列字典表
 * </p>
 *
 * @author anzhi
 * @since 2019-05-04
 */
@TableName("queue_main")
public class QueueMain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序列Id
     */
    @TableId(value = "queueId", type = IdType.AUTO)
    private Integer queueId;
    /**
     * 序列名
     */
    private String queueName;
    /**
     * 序列别名
     */
    private String queueAlias;
    /**
     * 序列前缀
     */
    private String queuePrefix;
    /**
     * 序列当前值
     */
    private Integer queueValue;
    /**
     * 更新时间
     */
    @Version
    private Date updateTime;
    /**
     * 创建时间
     */
    private Date createTime;


    public Integer getQueueId() {
        return queueId;
    }

    public void setQueueId(Integer queueId) {
        this.queueId = queueId;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public String getQueueAlias() {
        return queueAlias;
    }

    public void setQueueAlias(String queueAlias) {
        this.queueAlias = queueAlias;
    }

    public String getQueuePrefix() {
        return queuePrefix;
    }

    public void setQueuePrefix(String queuePrefix) {
        this.queuePrefix = queuePrefix;
    }

    public Integer getQueueValue() {
        return queueValue;
    }

    public void setQueueValue(Integer queueValue) {
        this.queueValue = queueValue;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "QueueMain{" +
        ", queueId=" + queueId +
        ", queueName=" + queueName +
        ", queueAlias=" + queueAlias +
        ", queuePrefix=" + queuePrefix +
        ", queueValue=" + queueValue +
        ", updateTime=" + updateTime +
        ", createTime=" + createTime +
        "}";
    }
}
